package study.spring.thirdDay;

public class DITextEditorBaseSetter {
	
	private DISpellCheckerBaseSetter spellChecker;
	
	public void setSpellChecker(DISpellCheckerBaseSetter spellChecker) {
		System.out.println("(Based Setter) Inside setDISpellCheckerBaseSetter.");
		this.spellChecker = spellChecker;
	}
	
	public DISpellCheckerBaseSetter getSpellChecker() {
		return spellChecker;
	}
	
	public void spellCheck() {
		spellChecker.checkSpelling();
	}
	
	public DITextEditorBaseSetter() {
		// TODO Auto-generated constructor stub
	}
}
